home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
- set -e
- # Automatically added by dh_pycentral
- if which pycentral >/dev/null 2>&1 && pycentral --help 2>/dev/null | grep -q '^ *version'; then
- pycentral pkgprepare ufw <<PYEOF
- [python-package]
- format = 1
- python-version = >= 2.5
- [pycentral]
- version = 0.6.7
- [files]
- /usr/share/pyshared/ufw=d
- /usr/share/pyshared/ufw/__init__.py=f
- /usr/share/pyshared/ufw/backend.py=f
- /usr/share/pyshared/ufw/backend_iptables.py=f
- /usr/share/pyshared/ufw/common.py=f
- /usr/share/pyshared/ufw/frontend.py=f
- /usr/share/pyshared/ufw/util.py=f
- /usr/share/pyshared/ufw/applications.py=f
- /usr/share/pyshared/ufw-0.23.2.egg-info=f
- PYEOF
- else
- mkdir -p /var/lib/pycentral
- echo ufw >> /var/lib/pycentral/delayed-pkgs
- fi
- # End automatically added section
-